package com.ruoyi.quartz.mapper;

import java.util.List;
import java.util.Map;

import com.ruoyi.quartz.domain.YyZhouhuibase;
import io.lettuce.core.dynamic.annotation.Param;

/**
 * YyZhouhuibaseMapper接口
 * 
 * @author SYF
 * @date 2025-06-10
 */
public interface YyZhouhuibaseMapper 
{
    /**
     * 查询YyZhouhuibase
     * 
     * @param djdate YyZhouhuibase主键
     * @return YyZhouhuibase
     */
    public YyZhouhuibase selectYyZhouhuibaseByDjdate(String djdate);

    /**
     * 查询YyZhouhuibase列表
     * 
     * @param yyZhouhuibase YyZhouhuibase
     * @return YyZhouhuibase集合
     */
    public List<YyZhouhuibase> selectYyZhouhuibaseList(YyZhouhuibase yyZhouhuibase);

    /**
     * 新增YyZhouhuibase
     * 
     * @param yyZhouhuibase YyZhouhuibase
     * @return 结果
     */
    public int insertYyZhouhuibase(YyZhouhuibase yyZhouhuibase);

    /**
     * 修改YyZhouhuibase
     * 
     * @param yyZhouhuibase YyZhouhuibase
     * @return 结果
     */
    public int updateYyZhouhuibase(YyZhouhuibase yyZhouhuibase);

    /**
     * 删除YyZhouhuibase
     * 
     * @param djdate YyZhouhuibase主键
     * @return 结果
     */
    public int deleteYyZhouhuibaseByDjdate(String djdate);

    /**
     * 批量删除YyZhouhuibase
     * 
     * @param djdates 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteYyZhouhuibaseByDjdates(String[] djdates);

    public int deleteYyZhouhuibaseByYear(@Param("ym") String ym);

    public List<Map<String,Object>> selectZhouhuiBaseData(@Param("year") String year);

    public List<Map<String,Object>> selectLyUserBalance();

    public List<Map<String,Object>> selectUserInfoByUid(@Param("uid") String uid);

    public List<Map<String,Object>> selectBalanceByUid(@Param("uid") String uid);
}
